package com.cloud.lan.entity.model.dataobject;

/**
 * Created by zhouquan on 2022/4/14.
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 标签配置
 * Created by zhouquan on 2022/4/14.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lan_tag_cfg")
public class LanTagCfgDO implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标签code
     */
    private String tagCode;

    @TableField(exist = false)
    private Integer tagUserNums;


    /**
     * 标签名
     */
    private String tagName;

    /**
     * 标签值
     */
    private String tagVal;
    /**
     * 标签类型
     * 标签类型1-实时;2-非实时
     */
    private Integer tagType;

    /**
     * 扩展字段
     */
    private String extension;

    /**
     * 是否删除，0.否，1.是
     */
    @TableLogic
    private Integer isDeleted;

    private Date createTime;

    private Date updateTime;
}
